package com.onesports.intelligent.k12.polarlight.domain.dto.wx;

import com.onesports.framework.kit.common.valid.Length;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import java.time.Instant;

/**
 * @author wangcx
 * @since 1.0.0 2022-07-14
 */
@Data
@ApiModel(value = "社区申报")
public class CampusApplyDTO {

    @ApiModelProperty(value = "微信userId",hidden = true)
    private String wxUserId;

    @NotBlank(message = "社区名称不可为空")
    @ApiModelProperty(value = "社区名称")
    @Length(max = 50,message = "社区名称不能大于50")
    private String campusName;

    @NotBlank(message = "社区物业不可为空")
    @Length(max = 200,message = "社区物业名称不能大于200")
    @ApiModelProperty(value = "社区物业")
    private String property;

    @NotBlank(message = "社区场地不可为空")
    @ApiModelProperty(value = "社区场地")
    @Length(max = 500,message = "社区场地名称不能大于500")
    private String campusSpace;

    @ApiModelProperty(value = "手机号",hidden = true)
    private String applyPhone;

    @ApiModelProperty(value = "申请时间",hidden = true)
    private Instant applyTime;


}
